ExamPlay Light Logo
Pierakstīties

Computer Science for IGCSE & O level - Programming (Section 10 - No. 31)

What is the purpose of the Step value in a FOR loop, such as `For number = 10 to 50 Step 5`?
To specify the starting point of the loop.
To specify the end point of the loop.
To determine the increment or decrement for each iteration.
To define the total number of iterations.

Paskaidrojums

The Step value determines how the loop variable changes (increments or decrements) in each cycle.

komentāri (0)

Piesakieties, lai komentētu
Reklāma
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc